﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace machine_registration.Infrastructure
{
    public interface IDataService
    {
        Task<(List<BorrowRecord> Items, int TotalCount)> GetPagedRecordsAsync(
            int page = 1,
            int pageSize = 20,
            string keyword = null
        );

        Task<bool> DeleteRecordAsync(string recordId);
    }
}
